/**
 * 分公司印章管理
 */

import request from '@/utils/request'
import { unionApiUrl } from '@/api/config.js'

const api = unionApiUrl + '/inspSealManage'

// 列表
export function getList(data) {
  return request.post(`${api}/getPageInspSealManage`, data)
}

// 详情
export function detail(id) {
  return request.get(`${api}/getInspSealManageById?id=${id}`)
}

// 新增
export function create(data) {
  return request.post(`${api}/insertSelective`, data)
}

// 编辑
export function update(data) {
  return request.post(`${api}/updateByPrimaryKeySelective`, data)
}

// 删除
export function remove(data) {
  return request.post(`${api}/deleteByPrimaryKey?id=${data}`)
}

// 枚举值
// export function getLabels(data) {
//   return request.post(`${unionApiUrl}/typesLabel/queryTypesLabelList`,data)
// }

